<!--{*
/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
*}-->
<script type="text/javascript">
// URLの表示非表示切り替え
function lfDispSwitch(id){
	var obj = document.getElementById(id);
	if (obj.style.display == 'none') {
		obj.style.display = '';
	} else {
		obj.style.display = 'none';
	}
}

// セレクトボックスのリストを移動
//（移動元セレクトボックスID, 移動先セレクトボックスID）
function fnMoveSelect(select, target) {
	$('#' + select).children().each(function() {
		if (this.selected) {
			$('#' + target).append(this);
			$(this).attr({selected: false});
		}
	});
}

// target の子要素を選択状態にする
function selectAll(target) {
	$('#' + target).children().attr({selected: true});
}

</script>

<div id="alpha">
<div id="alpha-inner">
<!--▼SUB NAVI-->
<!--{include file=$tpl_subnavi}-->
<!--▲SUB NAVI-->
</div>
</div>



<div id="beta">
<div id="beta-inner">
						<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
						<!--{foreach key=key item=item from=$arrSearchHidden}-->
							<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
						<!--{/foreach}-->
						<input type="hidden" name="mode" value="edit">
						<input type="hidden" name="image_key" value="">
						<input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->" >
						<input type="hidden" name="copy_product_id" value="<!--{$arrForm.copy_product_id}-->" >
						<input type="hidden" name="anchor_key" value="">
						<!--{foreach key=key item=item from=$arrHidden}-->
							<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
						<!--{/foreach}-->
<div class="title_page">
<h2><!--{$tpl_subtitle}--><a href="#recommend_select" title="関連商品へ">▼関連商品へ</a><a href="#sub_detail" title="関連商品へ">▼サブ情報へ</a></h2>
</div>



<div class="menuclass">
<table>
<tr>
	<th>商品ID</th><th>商品名<span class="red"> *</span></th>
</tr>
<tr>
<td><!--{$arrForm.product_id}--></td>
<td>
	<span class="red12"><!--{$arrErr.name}--></span>
	<input type="text" name="name" value="<!--{$arrForm.name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" />
	<span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
</td>
</tr>
</table>
</div>



<div class="menuclass">
<dl>
<dt>商品カテゴリ<span class="red"> *</span></dt>
<dd>
	<span class="red12"><!--{$arrErr.category_id}--></span>
			<table>
			<tr>
			<td>
			<select name="category_id[]" id="category_id" style="<!--{if $arrErr.category_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}--> height: 120px;" onchange="" size="10" multiple>
			</select>
			</td>
			<td>
			<input type="button" name="on_select" value="&nbsp;&nbsp;&lt;-&nbsp;登録&nbsp;&nbsp;" onClick="fnMoveSelect('category_id_unselect','category_id')"><br><br>
			<input type="button" name="un_select" value="&nbsp;&nbsp;削除&nbsp;-&gt;&nbsp;&nbsp;" onClick="fnMoveSelect('category_id','category_id_unselect')">
			</td>
			<td>
			<select name="category_id_unselect[]" id="category_id_unselect" onchange="" size="10" style="height: 120px;" multiple>
			<!--{html_options values=$arrCatVal output=$arrCatOut selected=$arrForm.category_id}-->
			</select>
			</td>
			</tr>
			</table>
</dd>
</dl>
</div>



<div class="menuclass">
<table summary="商品登録">
<tr>
	<th>公開・非公開<span class="red"> *</span></th>
	<td>
	<input type="radio" name="status" value="1" <!--{if $arrForm.status == "1"}-->checked<!--{/if}-->/>公開
	<input type="radio" name="status" value="2" <!--{if $arrForm.status == "2"}-->checked<!--{/if}--> />非公開
	</td>
</tr>
<tr>
	<th>商品ステータス</th>
	<td>
	<!--{html_checkboxes name="product_flag" options=$arrSTATUS selected=$arrForm.product_flag}-->
	</td>
</tr>
									
<!--{if $tpl_nonclass == true}-->
<tr>
	<th>商品コード<span class="red"> *</span></th>
	<td>
	<span class="red12"><!--{$arrErr.product_code}--></span>
	<input type="text" name="product_code" value="<!--{$arrForm.product_code|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.product_code != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" />
	<span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
	</td>
</tr>

<tr>
	<th><!--{$smarty.const.NORMAL_PRICE_TITLE}--></th>
	<td>
	<span class="red12"><!--{$arrErr.price01}--></span>
	<input type="text" name="price01" value="<!--{$arrForm.price01|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>円
	<span class="red10"> （半角数字で入力）</span>
	</td>
</tr>
<tr>
	<th><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="red"> *</span></th>
	<td>
	<span class="red12"><!--{$arrErr.price02}--></span>
	<input type="text" name="price02" value="<!--{$arrForm.price02|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>円
	<span class="red10"> （半角数字で入力）</span>
	</td>
</tr>
<tr>
	<th>在庫数<span class="red"> *</span></th>
	<td>
	<span class="red12"><!--{$arrErr.stock}--></span>
	<input type="text" name="stock" value="<!--{$arrForm.stock|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.stock != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>個
	<input type="checkbox" name="stock_unlimited" value="1" <!--{if $arrForm.stock_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckStockLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限
	</td>
</tr>
<!--{/if}-->
									
		<!--{* 送料の個別指定は次期開発で追加予定
		<tr>
		<th>商品送料</th>
		<td>
		<span class="red12"><!--{$arrErr.deliv_fee}--></span>
		<input type="text" name="deliv_fee" value="<!--{$arrForm.deliv_fee|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.deliv_fee != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>円
		<span class="red10"> （半角数字で入力）</span>
		</td>
		</tr>
		*}-->
								
<tr>
	<th>ポイント付与率<span class="red"> *</span></th>
	<td>
	<span class="red12"><!--{$arrErr.point_rate}--></span>
	<input type="text" name="point_rate" value="<!--{$arrForm.point_rate|escape|default:$arrInfo.point_rate}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" style="<!--{if $arrErr.point_rate != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>％
	<span class="red10"> （半角数字で入力）</span>
	</td>
</tr>
</table>
</div>



<div class="menuclass">
<table summary="商品登録">
<tr>
	<th>発送日目安</th>
	<td>
	<span class="red12"><!--{$arrErr.deliv_date_id}--></span>
	<select name="deliv_date_id" style="<!--{$arrErr.deliv_date_id|sfGetErrorColor}-->">
	<option value="">選択してください</option>
	<!--{html_options options=$arrDELIVERYDATE selected=$arrForm.deliv_date_id}-->
	</select>
	</td>
</tr>
<tr>
	<th>購入制限<span class="red"> *</span></th>
	<td>
	<span class="red12"><!--{$arrErr.sale_limit}--></span>
	<input type="text" name="sale_limit" value="<!--{$arrForm.sale_limit|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.sale_limit != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>個
	<input type="checkbox" name="sale_unlimited" value="1" <!--{if $arrForm.sale_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckSaleLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限
	</td>
</tr>
<tr>
	<th>メーカーURL</th>
	<td>
	<span class="red12"><!--{$arrErr.comment1}--></span>
	<input type="text" name="comment1" value="<!--{$arrForm.comment1|escape}-->" maxlength="<!--{$smarty.const.URL_LEN}-->" size="60" class="box60" style="<!--{$arrErr.comment1|sfGetErrorColor}-->" /><span class="red"> （上限<!--{$smarty.const.URL_LEN}-->文字）</span>
	</td>
</tr>

		<!--{*
		<tr>
		<td bgcolor="#f2f1ec" width="160" class="fs12n">成分</td>
		<td bgcolor="#ffffff" width="557" class="fs10n"><textarea name="comment2" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.STEXT_LEN}-->"><!--{$arrForm.comment2|escape}-->
		</textarea>
		<span class="red"> （上限<!--{$smarty.const.LTEXT_LEN}-->文字）</span>
		</td>
		</tr>
		*}-->

</table>
</div>



<div class="menuclass">
<dl>
<dt>検索ワード<span class="red">※複数の場合は、カンマ( , )区切りで入力して下さい</span></dt>
<dd>
	<span class="red12"><!--{$arrErr.comment3}--></span>
	<textarea name="comment3" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.comment3|sfGetErrorColor}-->"><!--{$arrForm.comment3|escape}--></textarea><br />
	<span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span>
</dd>
<dt>一覧-メインコメント<span class="red"> *</span></dt>
<dd>
	<span class="red12"><!--{$arrErr.main_list_comment}--></span>
	<textarea name="main_list_comment" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" style="<!--{if $arrErr.main_list_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" cols="60" rows="8" class="area60"><!--{$arrForm.main_list_comment|escape}--></textarea><br />
	<span class="red"> （上限<!--{$smarty.const.MTEXT_LEN}-->文字）</span>
</dd>
<dt>詳細-メインコメント<span class="red">(タグ許可)*</span></dt>
<dd>
	<span class="red12"><!--{$arrErr.main_comment}--></span>
	<textarea name="main_comment" value="<!--{$arrForm.main_comment|escape}-->" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{if $arrErr.main_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"  cols="60" rows="8" class="area60"><!--{$arrForm.main_comment|escape}--></textarea><br />
	<span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span>
</dd>
</dl>
</div>



<div class="menuclass">
<table summary="商品登録">
<tr><!--{assign var=key value="main_list_image"}-->
	<th>一覧-メイン画像<span class="red"> *</span><br />[<!--{$smarty.const.SMALL_IMAGE_WIDTH}-->×<!--{$smarty.const.SMALL_IMAGE_HEIGHT}-->]</th>
	<td>
	<a name="<!--{$key}-->"></a>
	<a name="main_image"></a>
	<a name="main_large_image"></a>
	<span class="red12"><!--{$arrErr[$key]}--></span>
		<!--{if $arrFile[$key].filepath != ""}-->
		<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
		<!--{/if}-->
	<input type="file" name="main_list_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
	<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
	</td>
</tr>
<tr><!--{assign var=key value="main_image"}-->
	<th>詳細-メイン画像<span class="red"> *</span><br />[<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->]</th>
	<td><span class="red12"><!--{$arrErr[$key]}--></span>
	<!--{if $arrFile[$key].filepath != ""}-->
	<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
	<!--{/if}-->
	<input type="file" name="main_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
	<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
	</td>
</tr>
<tr><!--{assign var=key value="main_large_image"}-->
	<th>詳細-メイン拡大画像<br />[<!--{$smarty.const.LARGE_IMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_IMAGE_HEIGHT}-->]</th>
	<td><span class="red12"><!--{$arrErr[$key]}--></span>
	<!--{if $arrFile[$key].filepath != ""}-->
	<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
	<!--{/if}-->
	<input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
	<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
	</td>
</tr>

			<!--{*　カラー比較画像、商品詳細ファイルは非対応 
			<tr>
			<td bgcolor="#f2f1ec" width="160" class="fs12n">カラー比較画像<br />[500×500]</td>
			<td bgcolor="#ffffff" width="557" class="fs12n">
			<!--{assign var=key value="file1"}-->
			<span class="red12"><!--{$arrErr[$key]}--></span>
			<!--{if $arrFile[$key].filepath != ""}-->
			<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" />
			<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
			<!--{/if}-->
			<input type="file" name="<!--{$key}-->" size="50" class="box50" />
			<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
			</td>
			</tr>
			<tr>
			<td bgcolor="#f2f1ec" width="160" class="fs12n">商品詳細ファイル</td>
			<td bgcolor="#ffffff" width="557" class="fs10n">
			<!--{assign var=key value="file2"}-->
			<span class="red12"><!--{$arrErr[$key]}--></span>
			<!--{if $arrFile[$key].filepath != ""}-->
			<input type="button" name="pdf" value="ファイル確認" onclick="selectAll('category_id'); fnOpenNoMenu('<!--{$arrFile[$key].filepath}-->')"/>
			<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[ファイルの取り消し]</a><br />
			<!--{/if}-->
			<input type="file" name="<!--{$key}-->" size="50" class="box50" />
			<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
			</td>
			</tr>
			*}-->
</table>
</div>



<div class="btn_box">
<!--{if count($arrSearchHidden) > 0}-->
<!--▼検索結果へ戻る-->
<a href="#" onClick="fnChangeAction('<!--{$smarty.const.URL_SEARCH_TOP}-->'); fnModeSubmit('search','',''); return false;">
検索画面に戻る</a>
<!--▲検索結果へ戻る-->
<!--{/if}-->
<input type="submit" onClick="selectAll('category_id')" value="確認ページへ" name="subm" />
</div>



	<!--{* オペビルダー用 *}-->
	<!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
	<!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/admin_ope_view.tpl}-->
	<!--{/if}-->



	<div class="btn_box">
	<input type="button" name="btn" onclick="selectAll('category_id'); lfDispSwitch('sub_detail');" value="サブ情報表示/非表示" />
	</div>


	<!--{if $sub_find == true}-->
	<div id="sub_detail" style="">
	<!--{else}-->
	<div id="sub_detail" style="display:none">
	<!--{/if}-->

	<p class="place-right small"><a href="#wrapper" title="ページトップへ">▲GO TO PAGE TOP</a></p>
	<!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
	<!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
	<div class="menuclass">
	<table summary="サブ情報登録">
	<tr>
		<th>詳細-サブタイトル（<!--{$smarty.section.cnt.iteration}-->）</th>
		<!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
		<td><span class="red12"><!--{$arrErr[$key]}--></span>
		<input type="text" name="sub_title<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrForm[$key]|escape}-->" size="60" class="box60" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/><span class="red10"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
		</td>
	</tr>
	<tr>
		<th>詳細-サブコメント（<!--{$smarty.section.cnt.iteration}-->）<span class="red">(タグ許可)</span></th>
		<!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
		<td><span class="red12"><!--{$arrErr[$key]}--></span>
		<textarea name="sub_comment<!--{$smarty.section.cnt.iteration}-->" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br />
		<span class="red10"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span>
		</td>
	</tr>
	<tr><!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
		<th>詳細-サブ画像（<!--{$smarty.section.cnt.iteration}-->）<br />[<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_SUBIMAGE_HEIGHT}-->]</th>
		<td>
		<a name="<!--{$key}-->"></a>
		<!--{assign var=largekey value="sub_large_image`$smarty.section.cnt.iteration`"}-->
		<a name="<!--{$largekey}-->"></a>
		<span class="red12"><!--{$arrErr[$key]}--></span>
			<!--{if $arrFile[$key].filepath != ""}-->
			<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
			<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
			<!--{/if}-->
		<input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
		<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
		</td>
	</tr>
	<tr><!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
		<th>詳細-サブ拡大画像（<!--{$smarty.section.cnt.iteration}-->）<br />[<!--{$smarty.const.LARGE_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_SUBIMAGE_HEIGHT}-->]</th>
		<td>
		<span class="red12"><!--{$arrErr[$key]}--></span>
		<!--{if $arrFile[$key].filepath != ""}-->
		<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
		<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
		<!--{/if}-->
		<input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
		<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
		</td>
	</tr>
	</table>
	</div>
	<!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
	<!--{/section}-->

	<!--{if $sub_find == true}-->
	</div>
	<!--{else}-->
	</div>
	<!--{/if}-->



	<div class="btn_box">
	<input type="button" name="btn" onclick="selectAll('category_id'); lfDispSwitch('recommend_select');" value="関連商品表示/非表示" />
	</div>



	<!--{if count($arrRecommend) > 0}-->
	<div id="recommend_select" style="">
	<!--{else}-->
	<div id="recommend_select" style="display:none">
	<!--{/if}-->

	<p class="place-right small"><a href="#wrapper" title="ページトップへ">▲GO TO PAGE TOP</a></p>
	<div class="menuclass">
	<table summary="関連商品登録">
		<!--{if $smarty.const.OPTION_RECOMMEND == 1}-->			
		<!--▼関連商品-->
		<!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->
		<!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
		<tr>
		<!--{assign var=key value="recommend_id`$smarty.section.cnt.iteration`"}-->
		<!--{assign var=anckey value="recommend_no`$smarty.section.cnt.iteration`"}-->
		<th>関連商品(<!--{$smarty.section.cnt.iteration}-->)<br />
			<!--{if $arrRecommend[$recommend_no].main_list_image != ""}-->
			<!--{assign var=image_path value="`$arrRecommend[$recommend_no].main_list_image`"}-->
			<!--{else}-->
			<!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
			<!--{/if}-->
			<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
		</th>
		<td>
		<a name="<!--{$anckey}-->"></a>
		<input type="hidden" name="<!--{$key}-->" value="<!--{$arrRecommend[$recommend_no].product_id|escape}-->">
		<input type="button" name="change" value="変更" onclick="selectAll('category_id'); win03('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '500', '500'); " >
		<!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}-->
		<input type="checkbox" name="<!--{$key}-->" value="1">削除<br>
		商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br />
		商品名:<!--{$arrRecommend[$recommend_no].name|escape}--><br />
		<!--{assign var=key value="recommend_comment`$smarty.section.cnt.iteration`"}-->
		<span class="red12"><!--{$arrErr[$key]}--></span>
		<textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrRecommend[$recommend_no].comment|escape}--></textarea><br />
		<span class="red10"> （上限<!--{$smarty.const.LTEXT_LEN}-->文字）</span>
		</td>
		</tr>
		<!--{/section}-->
		<!--▲関連商品-->
		<!--{/if}-->
		</table>
		</div>
	<!--{if count($arrRecommend) > 0}-->
	</div>
	<!--{else}-->
	</div>
	<!--{/if}-->



<div class="btn_box">
<!--{if count($arrSearchHidden) > 0}-->
<!--▼検索結果へ戻る-->
<a href="#" onClick="fnChangeAction('<!--{$smarty.const.URL_SEARCH_TOP}-->'); fnModeSubmit('search','',''); return false;">
検索画面に戻る</a>
<!--▲検索結果へ戻る-->
<!--{/if}-->
<input type="submit" onClick="selectAll('category_id')" value="確認ページへ" name="subm" />
</div>


								
</form>
</div>
</div>
